<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<my-component></my-component>
		</div>
		<script src="js/vue2.5.js"></script>
		<script>
			Vue.component('my-component',{
				template:'<div>vue全局组件</div>'
			})
			var vm = new Vue({
				el:'#app',
				data:{
					
				}
			})
		</script>
	</body>
</html>
